package com.lxc.infrastructure.persistent.dao;


import com.lxc.domain.manage.model.entity.GatewayDistributionEntity;
import com.lxc.domain.operation.model.entity.OPGatewayDistributionEntity;
import com.lxc.infrastructure.persistent.po.GatewayDistribution;
import com.lxc.types.common.OperationRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * (GatewayDistribution)表数据库访问层
 *
 * @author makejava
 * @since 2024-12-20 15:18:18
 */
@Mapper
public interface IGatewayDistributionDao {

//  根据gatewayid查询gateway_distributeion中获取所有的system_id，和gateway详细数据
    List<String> getGatewayDistributionListByGatewayId(String gatewayId);

    //  根据systemId查询gateway_distributeion中对应的gatewayID
    String getGatewayIdBySystemId(String systemId);

    //分页查询
    List<GatewayDistribution> queryGatewayDistributionListByPage(OperationRequest<OPGatewayDistributionEntity> request);

    int queryGatewayDistributionListCountByPage(OperationRequest<OPGatewayDistributionEntity> request);

}

